package com.simple.datax.flow.message;
/** 
 * @Title: EcFlowRespMessage.java 
 * @Package com.simple.datax.flow.model 
 * @Description: TODO(流程响应报文) 
 * @author tonney 
 * @date 2013-1-9 下午02:52:48 
 * @version V1.0 
 */
public class EcFlowRespMessage extends BaseEcMessage  implements Cloneable{

	private EcFlowRespMessageHead flowRespMessageHead = null;
	
	private EcFlowRespMessageBody flowRespMessageBody = null;

	public EcFlowRespMessage clone() {
		EcFlowRespMessage obj = null;
		obj = (EcFlowRespMessage) super.clone();
		if(flowRespMessageHead!=null){
			flowRespMessageHead = this.flowRespMessageHead.clone();
		}
		if(flowRespMessageBody!=null){
			flowRespMessageBody = this.flowRespMessageBody.clone();
		}
		return obj;
	}
	
	public EcFlowRespMessageHead addEcFlowRespMessageHead(){
		flowRespMessageHead = new EcFlowRespMessageHead();
		return flowRespMessageHead;
	}
	
	public EcFlowRespMessageBody addEcFlowRespMessageBody(){
		flowRespMessageBody = new EcFlowRespMessageBody();
		return flowRespMessageBody;
	}
	
	public EcFlowRespMessageHead getFlowRespMessageHead() {
		return flowRespMessageHead;
	}

	public void setFlowRespMessageHead(EcFlowRespMessageHead flowRespMessageHead) {
		this.flowRespMessageHead = flowRespMessageHead;
	}

	public EcFlowRespMessageBody getFlowRespMessageBody() {
		return flowRespMessageBody;
	}

	public void setFlowRespMessageBody(EcFlowRespMessageBody flowRespMessageBody) {
		this.flowRespMessageBody = flowRespMessageBody;
	}
}
